package com.instanceofs;

public class demo {
    public static void main(String[] args) {
        Person person = new Person();

        //判断person是否是Person类
        System.out.println(person instanceof Person);
    }

}
